<%@ page import="com.apexedu.portal.constant.Constants" %>
<%@ page import="com.apexedu.portal.entity.TFrontdeskNews" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
    request.setAttribute("basePath", basePath);
    TFrontdeskNews tfrontdesknews = (TFrontdeskNews) request.getAttribute("tfrontdesknews");
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <title><%=Constants.ProjectInfo.PROJECT_NAME%>
    </title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link href="${basePath}/resources/css/mh.sdyz.css" rel="stylesheet">
    <script type="text/javascript" src="${basePath}/resources/ui/js/jquery-1.10.2.min.js"></script>
    <script src="${basePath}/resources/js/mh.sdyz.index.js" type="text/javascript"></script>
    <style type="text/css">
        .moreDiv{
            position: absolute;
            right: 0;
            color: white;
            letter-spacing: 6px;
            font-size: 8px;
            top: 0;
            width: 100px;
            height: 50px;
            line-height: 50px;
            cursor: pointer;
        }
    </style>
</head>
<body>
<div class="titleR"><%=tfrontdesknews.getLmmc()%>
</div>
<div title="更多" class="moreDiv" onclick="window.open('${basePath}/s/uc/sdyz/fdn/<%=tfrontdesknews.getWeiz()%>')">
        ●●●
</div>
<div class="contentR">
    <ul>
        <c:forEach items="${newslist}" var="twz">
            <li onclick="window.open('${basePath}/s/uc/sdyz/fdnv/<%=tfrontdesknews.getWeiz()%>-${twz.wid}')"
                title="${twz.title}">
                <img src="${basePath}/resources/images/sdyz/dot.png" width="8">&nbsp;&nbsp;&nbsp;${twz.title}
            </li>
        </c:forEach>
    </ul>
</div>
</body>
</html>